<%--
    Document   : loaisp
    Created on : Dec 18, 2011, 8:18:14 AM
    Author     : kydrenw
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<div class="title">Danh Mục Sản Phẩm</div>

<div class="note">
    ${message}
</div>

<table width="100%">
    <tr>
        <td class="tbhead">Mã</td>
        <td class="tbhead">Tên</td>
        <td class="tbhead">Chỉnh sửa</td>
    </tr>
    <c:forEach var="item" items="${ds}">
    <tr>
        <td class="tbcontent">${item.ma}</td>
        <td class="tbcontent">${item.ten}</td>

        <td class="tbcontent">
            <a href="danhmuc.htm?action=sua&ma=${item.ma}">Sửa</a> |
            <a href="danhmuc.htm?action=xoa&ma=${item.ma}" onclick="return confirm('Bạn có chắc chắn muốn xóa không ?')">Xóa</a>
        </td>
    </tr>
     </c:forEach>
</table>